package gewu.suleju.dao.iml;

import gewu.suleju.model.pojo.BrokerInfo;
import gewu.suleju.model.pojo.HouseDeviceKind;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

public interface IHouseDeviceKindDao extends JpaRepository<HouseDeviceKind,Integer> {
    @Query(value ="select kind from house_device_kind where house_infor_id=?1",nativeQuery = true)
    String[] findKindById(Integer id);
}
